import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './App';
import './index.css';
import registerServiceWorker from './registerServiceWorker';
import { BrowserRouter } from 'react-router-dom';
import store from './store';
ReactDOM.render(<Provider store={store as any}><BrowserRouter><App /></BrowserRouter></Provider>,
  document.getElementById('root') as HTMLElement
);
registerServiceWorker();
